const Router = require('koa-router')
const router = new Router()
router.get('/list', (ctx) => {
    console.log(ctx)
    // 设置响应的状态码
    //ctx.status
    ctx.response.status = 404  
    ctx.body = '用户列表'
})

// 暴露路由器对象
module.exports = router